﻿@page
@using Microsoft.Extensions.Localization
@using Rechargeable.Amazon.Localization
@using Rechargeable.Amazon.Web.Pages.Amazon
@model Rechargeable.Amazon.Web.Pages.Amazon.IndexModel
@inject IStringLocalizer<AmazonResource> L

@{
}
@section scripts
    {
    <abp-script-bundle name="@typeof(IndexModel).FullName">
        <abp-script src="/client-proxies/amazon-proxy.js" />
        <abp-script src="/Pages/Amazon/index.js" />
    </abp-script-bundle>
  
}
<abp-card>
    <abp-card-header>
        <h2>@L["采集记录"]</h2>
    </abp-card-header>
    <abp-card-body>
        <form class="d-flex flex-row align-items-center flex-wrap">
            <label for="Products" class=" class="me-2"">Asin: </label>
            <input type="text" class="form-control form-text me-2  w-auto" id="asin" name="asin" placeholder="输入asin进行查询" />
            <button type="button" id="btnSearch" class="btn btn-primary me-2"><i class="fa fa-search"></i>&nbsp;&nbsp;搜索</button>
        </form>
        <abp-table style="margin-top:10px;" striped-rows="true" id="ProductTable">
            <thead>
                <tr>
                    <th>@L["Asin"]</th>
                    <th>@L["名称"]</th>
                    <th>@L["采集次数"]</th>
                </tr>
            </thead>
        </abp-table>
    </abp-card-body>
</abp-card>
